
// Este documento contiene las implementaciones de los mensajes de los "dlg's"

#include <mon/EditBox.h>
#include "mainwnd.h"

enum{
	IDC_EDIT11 = 301,
	IDC_EDIT12,
	IDC_EDIT13
};

BOOL CALLBACK DlgProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
{
	static EditBox m_edit1/*, m_edit2, m_edit3*/;
	static EditBox m_edit2;
	static EditBox m_edit3;
	static EditBox m_edit4;
	
	switch(uMsg)
	{
	case WM_INITDIALOG:

		m_edit1.SetHandle(GetDlgItem(hWnd, IDC_EDIT1));
		m_edit2.SetHandle(hWnd, IDC_EDIT2);
/*		m_edit3.SetHandle(GetDlgItem(hWnd, IDC_EDIT3));
		m_edit4.SetHandle(GetDlgItem(hWnd, IDC_EDIT4));
		m_edit1.SetFocus();*/
		return TRUE;

	case WM_SYSCOMMAND:
		if(SC_CLOSE == wParam) EndDialog(hWnd, 0);
		break;
	}
	
	return 0;
}
